﻿<Page x:Class="SlaktDataReader.Pages.pgBoU"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:local="clr-namespace:SlaktDataReader"
      mc:Ignorable="d" 
      DataContext="{Binding RelativeSource={RelativeSource self}}"
      d:DesignHeight="600" d:DesignWidth="900"
	Title="pgBoU">

    <Grid>
        <Border Grid.RowSpan="3" Width="680" Height="300" Background="White" BorderBrush="{DynamicResource BookColor1}" BorderThickness="2" CornerRadius="4" Name="FilterWindow" Visibility="Collapsed">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150" />
                    <ColumnDefinition Width="238*" />
                    <ColumnDefinition Width="288*" />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="45" />
                    <RowDefinition Height="35" />
                    <RowDefinition Height="40" />
                    <RowDefinition Height="40" />
                    <RowDefinition Height="40" />
                    <RowDefinition Height="40" />
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>

                <Grid Grid.Column="0" Grid.ColumnSpan="3" Background="#E0F0E0">
                    <Border Width="100" BorderBrush="{DynamicResource BookColor1}" Background="DarkGray" BorderThickness="1" HorizontalAlignment="Left">
                        <TextBlock Text="BoU" Foreground="White" FontSize="48" HorizontalAlignment="Center" VerticalAlignment="Center" FontFamily="Garamond" />
                    </Border>

                    

                </Grid>
                <TextBlock Grid.Column="1" Grid.ColumnSpan="2" HorizontalAlignment="Left" Margin="14,0,0,6" Name="textBlock2" Text="FILTRERA RESULTAT" VerticalAlignment="Center" FontFamily="../Fonts/OpenSans-Regular.ttf#Open Sans" FontSize="28" />
                
                <TextBlock Grid.Row="1" HorizontalAlignment="Left" Margin="14,0,0,5" Text="Förnamn" VerticalAlignment="Bottom" Grid.Column="1" FontFamily="../Fonts/OpenSans-Regular.ttf#Open Sans" FontSize="16" />
                <TextBlock Grid.Row="1" Grid.Column="2" HorizontalAlignment="Left" Margin="20,0,0,5" Text="Efternamn" VerticalAlignment="Bottom" FontFamily="../Fonts/OpenSans-Regular.ttf#Open Sans" FontSize="16" />
                <TextBlock Grid.Row="2" HorizontalAlignment="Right" Margin="0,0,10,0" Text="Mannen:" VerticalAlignment="Center" FontFamily="../Fonts/OpenSans-Regular.ttf#Open Sans" FontSize="18" FontWeight="Normal" Foreground="{StaticResource DarkColor2}" />
                <TextBlock Grid.Row="3" HorizontalAlignment="Right" Margin="0,0,10,0" Text="Kvinnan:" VerticalAlignment="Center" FontFamily="../Fonts/OpenSans-Regular.ttf#Open Sans" FontSize="18" FontWeight="Normal" Foreground="{StaticResource DarkColor2}"/>
                <TextBlock Grid.Row="4" HorizontalAlignment="Right" Margin="0,0,10,0" Text="Hans anhörga:" VerticalAlignment="Center" FontFamily="../Fonts/OpenSans-Regular.ttf#Open Sans" FontSize="18" FontWeight="Normal" Foreground="{StaticResource DarkColor2}"/>

                <TextBlock Grid.Row="5" HorizontalAlignment="Right" Margin="0,0,10,0" Text="Ort:" VerticalAlignment="Center" FontFamily="../Fonts/OpenSans-Regular.ttf#Open Sans" FontSize="18" FontWeight="Normal" Foreground="{StaticResource DarkColor2}"/>
                <TextBox Grid.Row="2" HorizontalAlignment="Left" Margin="14,0,0,0" Name="cfirst" VerticalAlignment="Center" Width="216" Grid.Column="1" Style="{StaticResource stdTextBox}" />
                <TextBox Grid.Row="2" Grid.Column="2" HorizontalAlignment="Left" Margin="20,0,0,0" Name="csur" VerticalAlignment="Center" Width="216" Style="{StaticResource stdTextBox}" />
                <TextBox Grid.Row="3" HorizontalAlignment="Left" Margin="14,0,0,0" Name="wfirst" VerticalAlignment="Center" Width="216" Grid.Column="1" Style="{StaticResource stdTextBox}" />
                <TextBox Grid.Row="3" Grid.Column="2" HorizontalAlignment="Left" Margin="20,0,0,0" Name="wsur" VerticalAlignment="Center" Width="216" Style="{StaticResource stdTextBox}" />
                <TextBox Grid.Row="4" HorizontalAlignment="Left" Margin="14,0,0,0" Name="rel2" VerticalAlignment="Center" Width="216" Grid.Column="1" Style="{StaticResource stdTextBox}" />
                <TextBox Grid.Row="5" Grid.Column="1" HorizontalAlignment="Left" Margin="14,0,0,0" Name="Ort" VerticalAlignment="Center" Width="216" Style="{StaticResource stdTextBox}" />
                <Button Content="SÖK" Grid.Column="2" Grid.Row="6" Height="23" HorizontalAlignment="Left" Margin="161,17,0,0" Name="bApplyFilter" Click="bApplyFilter_Click" VerticalAlignment="Top" Width="75" Style="{StaticResource SearchButton}" />
                
            </Grid>
        </Border>
    </Grid>
</Page>
